package com.ys.data.api;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableAsync
@SpringBootApplication(scanBasePackages ={ "com.ys.data.api","com.common"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages ={"com.ys.data.client"})//指定扫描feignClient路径
public class YsDataApiApplication {

	public static void main(String[] args) {
		SpringApplication.run(YsDataApiApplication.class, args);
	}

}
